<?php
// +----------------------------------------------------------------------
// | ProjectName : domall
// +----------------------------------------------------------------------
// | Description :  平台后台首页
// +----------------------------------------------------------------------
// | Copyright (c) 2015-2016 http://www.idowe.com All rights reserved.
// +----------------------------------------------------------------------
// | Authors : Johhny <chenjf@idowe.com>  Date : 2016-02-03
// +----------------------------------------------------------------------
namespace app\admin\controller;

use think\Db;

class Index extends Base{

    /**
     * 后台首页
     * @author Johhny <chenjf@idowe.com>
     * @return string
     */
    public function index(){
        $system_info_mysql = Db::query("select version() as v;");
        //var_dump($system_info_mysql);exit;
        $this->assign(['system_info_mysql' => $system_info_mysql]);
        return $this->display();
    }

}